import {request} from '@umijs/max';
import * as API from "@/services";


/** 特殊专题 分页检索请求 */
export async function queryFrontJournalSpecialTopics(params: API.frontJournalSpecialTopicPageQueryParams): Promise<API.RespPageResult<API.frontJournalSpecialTopic>> {
  return request('/api/v1/front/journal-special-topic', {
    params,
  });
}

/** 特殊专题 详情请求 */
export async function queryFrontJournalSpecialTopic(bizId: API.EntityId): Promise<API.RespResult<API.frontJournalSpecialTopic>> {
  return request(`/api/v1/front/journal-special-topic/${bizId}`);
}


